package com.ruanyun.modular.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * vocs排放量
 * </p>
 *
 * @author 
 * @since 2021-04-28
 */
@TableName("vocs_emission")
public class VocsEmission implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 企业id
     */
    @TableField("company_id")
    private Integer companyId;

    /**
     * 计算方法
     */
    @TableField("emission_way")
    private Integer emissionWay;

    /**
     * 计算过程
     */
    @TableField("emission_process")
    private String emissionProcess;

    @TableField("del_flag")
    private Integer delFlag;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    @TableField("emissions_num")
    private BigDecimal emissionsNum;

    @TableField("units")
    private String units;


    public String getUnits() {
        return units;
    }

    public void setUnits(String units) {
        this.units = units;
    }

    public BigDecimal getEmissionsNum() {
        return emissionsNum;
    }

    public void setEmissionsNum(BigDecimal emissionsNum) {
        this.emissionsNum = emissionsNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getEmissionWay() {
        return emissionWay;
    }

    public void setEmissionWay(Integer emissionWay) {
        this.emissionWay = emissionWay;
    }

    public String getEmissionProcess() {
        return emissionProcess;
    }

    public void setEmissionProcess(String emissionProcess) {
        this.emissionProcess = emissionProcess;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "VocsEmission{" +
        "id=" + id +
        ", companyId=" + companyId +
        ", emissionWay=" + emissionWay +
        ", emissionProcess=" + emissionProcess +
        ", delFlag=" + delFlag +
        ", createTime=" + createTime +
                ", emissionsNum=" + emissionsNum +
                ", units=" + units +
        "}";
    }
}
